Fix obsolete documentation of desktop library
authorStephen Berman <stephen.berman@gmx.net>
Thu, 3 Apr 2025 14:53:35 +0000 (16:53 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Thu, 3 Apr 2025 14:53:35 +0000 (16:53 +0200)
* doc/emacs/misc.texi (Saving Emacs Sessions): Replace
documentation of the long-deleted user option
'desktop-clear-preserve-buffers-regexp' with documentation of
'desktop-clear-preserve-buffers'.

doc/emacs/misc.texi

index 5896dc83fe11ae0606651383494cb4c4ccfd3b8b..fbcb7294505eacd8d3d5d5ef0f0585289454798f 100644 (file)
@@ -2907,8 +2907,8 @@ invoking @kbd{M-x desktop-read} next.  The @code{desktop-clear}
 command kills all buffers except for internal ones, and clears the
 global variables listed in @code{desktop-globals-to-clear}.  If you
 want it to preserve certain buffers, customize the variable
-@code{desktop-clear-preserve-buffers-regexp}, whose value is a regular
-expression matching the names of buffers not to kill.
+@code{desktop-clear-preserve-buffers}, whose value is a list of regular
+expressions matching the names of buffers not to kill.
 
 @vindex desktop-globals-to-save
   If you want to save minibuffer history from one session to